//
//  JddDatePicker.h
//  PlayBall
//
//  Created by Edward Zhang on 12-5-9.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "JddDefine.h"
@protocol JddDatePickerDelegate <NSObject>

- (void)datePickerOkButtonClicked;
- (void)datePickerCancelButtonClicked;

@end

@interface JddDatePicker : UIView
GET_INSTANCE_VIEW_DECLARE(JddDatePicker)
@property (assign) id<JddDatePickerDelegate> delegate;
@property (strong, nonatomic) IBOutlet UIDatePicker *datePicker;

- (IBAction)okButtonClicked:(id)sender;
- (IBAction)cancelButtonClicked:(id)sender;

@end
